package com.prolestar.participation.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.prolestar.common.annotation.Excel;
import com.prolestar.common.core.domain.BaseEntity;

/**
 * 公众参与对象 ps_participation
 * 
 * @author xuyp
 * @date 2022-11-21
 */
public class PsParticipation extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 公众参与 */
    @Excel(name = "公众参与")
    private Long id;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 提交人姓名 */
    @Excel(name = "提交人姓名")
    private String publicName;

    /** 性别；1=男，2=女 */
    @Excel(name = "性别；1=男，2=女")
    private Long sex;

    /** 省市 */
    @Excel(name = "省市")
    private Long area;

    /** 详细地址 */
    @Excel(name = "详细地址")
    private String address;

    /** 详情 */
    @Excel(name = "详情")
    private String content;

    /** 手机号 */
    @Excel(name = "手机号")
    private String photonumber;

    /** ip地址 */
    @Excel(name = "ip地址")
    private String ip;

    /** 状态；1=待处理；2=不采纳；3=已处理；4=删除 */
    @Excel(name = "状态；1=待处理；2=不采纳；3=已处理；4=删除")
    private Long status;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setPublicName(String publicName) 
    {
        this.publicName = publicName;
    }

    public String getPublicName() 
    {
        return publicName;
    }
    public void setSex(Long sex) 
    {
        this.sex = sex;
    }

    public Long getSex() 
    {
        return sex;
    }
    public void setArea(Long area) 
    {
        this.area = area;
    }

    public Long getArea() 
    {
        return area;
    }
    public void setAddress(String address) 
    {
        this.address = address;
    }

    public String getAddress() 
    {
        return address;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setPhotonumber(String photonumber) 
    {
        this.photonumber = photonumber;
    }

    public String getPhotonumber() 
    {
        return photonumber;
    }
    public void setIp(String ip) 
    {
        this.ip = ip;
    }

    public String getIp() 
    {
        return ip;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("publicName", getPublicName())
            .append("sex", getSex())
            .append("area", getArea())
            .append("address", getAddress())
            .append("content", getContent())
            .append("photonumber", getPhotonumber())
            .append("ip", getIp())
            .append("status", getStatus())
            .toString();
    }
}
